﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    public interface  IProvider<T> where T : class
    {
        List<T> GetAll();
        int Insert(T t);    
        int Update(T t);    
        int Delete(int Id);
    }
}
